This folder contains all the resources required to generate all tables and figures in "The Millennium Development Goals and Education: Accountability and Substitution in Global Assessment" by Bisbee, Hollyer, Rosendroff, and Vreeland (2019). 

Users need only unzip the folder to the destination of their choice and run the "BHRV_replicationIO.R" script. This script uses the "R-functions.R" helper script and the bhrvDAT.RData file to generate tables 2 - 6 and figures 2 - 3 from the published paper. These outputs are saved in the "Tables" and "Figures" sub-folders respectively, with the following names:

TABLES:
	- Table 2 				= 	./Tables/summary-stats.tex
	- Table 3				= 	./Tables/resprimary.tex
	- Table 4				= 	./Tables/ressecter.tex
	- Table 5				= 	./Tables/resdist.tex
	- Table 6				= 	./Tables/resECM.tex
	
FIGURES:
	- Figure 2, left plot	=	./Figures/mfx-primdem.pdf
	- Figure 2, right plot 	= 	./Figures/mfx-primtrans.pdf
	- Figure 3, left plot 	= 	./Figures/aid-mdgregs.pdf
	- Figure 3, right plot 	= 	./Figures/aid-medprim.pdf

